package com.wzk.travelspringboot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzk.travelspringboot.entity.Scenic;
import com.wzk.travelspringboot.entity.ScenicComment;

import java.util.List;

/**
 * @Author: WangZiKang
 * @Date: 2025/1/12 20:02
 */
public interface ScenicCommentDAO extends BaseMapper<ScenicComment> {

    int addComment(ScenicComment comment);

    List<ScenicComment> queryBySId(long sid);

    int queryCommentCountById(long id);

    int likeIncr(long id);

    int likeDecr(long id);

}
